/*为了webstorm识别vite中设置的别名*/
'use strict'
const path = require('path')

module.exports = {
    context: path.resolve(__dirname, './'),
    resolve: {
        extensions: ['.js', '.vue', '.json'],
        alias: {
            '@': path.resolve('src'),
            '@/assets': path.resolve(__dirname, 'src/assets'),
            '@/pages': path.resolve(__dirname, 'src/pages'),
            '@/components': path.resolve(__dirname, 'src/components'),
            '@/api': path.resolve(__dirname, 'src/api'),
            '@/plug': path.resolve(__dirname, 'src/plugins'),
            '@/utils': path.resolve(__dirname, 'src/utils')
        }
    }
}
